<li class='clearfix record' id="<%= dom_id(category) -%>">
  <div class='clearfix'>
	  <span class='title'>
	    <%= category.name %>
	    <span class="preview">&nbsp;</span>
	  </span>
	  <span class='actions'>
	    <%= link_to refinery_icon_tag("application_go.png"), category_path(category),
	        :title => t('.view_live_html'),
	        :target => "_blank" %>
	    <%= link_to refinery_icon_tag("application_edit.png"), edit_admin_category_path(category),
	         :title => t('.edit') %>
	    <%= link_to refinery_icon_tag("delete.png"), admin_category_path(category),
	        :class => "cancel confirm-delete",
	        :title => t('.delete'),
	        :confirm => t('message', :scope => 'shared.admin.delete', :title => category.name),
	        :method => :delete %>
	  </span>
  </div>
	
  <!-- This nested ul added for the tree section -->
  <ul class='nested'>    
	<%= render :partial => 'category', :collection => category.children %> 
  </ul>
</li>
